package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.entity.NursingLevel;
import com.zzyl.vo.NursingLevelVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NursingLevelMapper {
    Integer findNursingLevelByPlanId(Long planId);

    Page<NursingLevelVo> findNursingLevelPage(String name, Integer status);

    void addNursingLevel(NursingLevel nursingLevel);

    NursingLevelVo findNursingLevelById(Long id);

    void updateNursingLevel(NursingLevel nursingLevel);

    void deleteNursingLevel(Long id);

    void updateNursingLevelByStatus(Long id, Integer status);

    List<NursingLevelVo> findAllNursingLevel();

}
